<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";

//获得订单编号
String boiId = request.getParameter("boiId");
//获得会员编号
String bmbId = request.getParameter("bmbId");
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>订单管理-订单列表-订单详情</title>
    <jsp:include page="../../include/base.jsp"></jsp:include>
	<jsp:include page="../../include/common.jsp"></jsp:include>
	<jsp:include page="../../include/baseManage.jsp"></jsp:include>
	<style type="text/css">
		.detailTable{width:100%;font-size:12px;}
	</style>
	<script type="text/javascript">
		var __boiId = "<%=boiId %>";
		var __bmbId = "<%=bmbId %>";
	</script>
	
  </head>
  <body>
  	<div class="mini-panel" title="订单详情" style="width:100%;height:100%;" borderStyle="border:0;" 
	    showHeader="false" showToolbar="true" bodyStyle="padding:0;">
	    <div property="toolbar" style="border:0;">
	    	<div class="mini-toolbar" style="border:0;padding-left:6px;">
	    		<div class="operatePanel">
		       		<input id="order_detail_quer" class="mini-button" text="确认" iconCls="icon-add" plain="false" 
			       		onclick="OrderDetailHandler.disposeOrder('queRBtn')"/>
			       	<input id="order_detail_fuk" class="mini-button" text="付款" iconCls="icon-add" plain="false" 
			       		onclick="OrderDetailHandler.disposeOrder('fuKBtn')"/>
			       	<input id="order_detail_peih" class="mini-button" text="配货" iconCls="icon-add" plain="false" 
			       		onclick="OrderDetailHandler.disposeOrder('peiHBtn')"/>
			       	<input id="order_detail_fahd" class="mini-button" text="生成发货单" iconCls="icon-add" plain="false" 
			       		onclick="OrderDetailHandler.disposeOrder('faHDBtn')"/>
			       	<input id="order_detail_qufh" class="mini-button" text="去发货" iconCls="icon-add" plain="false" 
			       		onclick="OrderDetailHandler.disposeOrder('quFHBtn')"/>
			       	<input id="order_detail_shouh" class="mini-button" text="收货" iconCls="icon-add" plain="false" 
			       		onclick="OrderDetailHandler.disposeOrder('shouHBtn')"/>
			       	<input id="order_detail_tuih" class="mini-button" text="退货" iconCls="icon-add" plain="false" 
			       		onclick="OrderDetailHandler.disposeOrder('tuiHBtn')"/>
			       	<input id="order_detail_qux" class="mini-button" text="取消" iconCls="icon-btn-cancel" plain="false" 
			       		onclick="OrderDetailHandler.disposeOrder('quXBtn')"/>
			       	<input id="order_detail_wuflx" class="mini-button" text="无法联系" iconCls="icon-add" plain="false" 
			       		onclick="OrderDetailHandler.disposeOrder('wuFLXBtn')"/>
			       	<input id="order_detail_shix" class="mini-button" text="失效" iconCls="icon-add" plain="false" 
			       		onclick="OrderDetailHandler.disposeOrder('shiXBtn')"/>
			       	<input class="mini-button" text="返回订单列表" iconCls="icon-btn-return" plain="false" 
			       		onclick="OrderDetailHandler.returnOrderList"/>
			    </div>
	    	</div>
	    </div>
	    <div id="baseInfoPanel" title="基本信息" class="mini-panel" style="width:100%;" borderStyle="border:0;"
	    	headerStyle="border-bottom:1px solid #C9C9C9;border-bottom:1px solid #C9C9C9;">
	    	<table class="detailTable" cellpadding="6">
		    	<tr>
		    		<td align="right" width="22%;"><label style="letter-spacing:6px;">订单</label>号：</td>
		    		<td width="28%">
		    			<label id="boiOsn"></label>
		    		</td>
		    		<td align="right" width="22%;">订单状态：</td>
		    		<td width="28%">
		    			<label id="boiOrder"></label>
		    			<label id="boiPay"></label>
		    			<label id="boiShip"></label>
		    		</td>
		    	</tr>
		    	<tr>
		    		<td align="right"><label style="letter-spacing:6px;">订购</label>人：</td>
		    		<td>
		    			<label id="bmbNick"></label>
		    		</td>
		    		<td align="right">下单时间：</td>
		    		<td>
		    			<label id="boiOtime"></label>
		    		</td>
		    	</tr>
		    	<tr>
		    		<td align="right">支付方式：</td>
		    		<td>
		    			<label id="boiPaymodename"></label>
		    		</td>
		    		<td align="right">付款时间：</td>
		    		<td>
		    			<label id="boiPtime"></label>
		    		</td>
		    	</tr>
		    	<tr>
		    		<td align="right">配送方式：</td>
		    		<td>
		    			<label id="boiDeliverymode"></label>
		    		</td>
		    		<td align="right">发货时间：</td>
		    		<td>
		    			<label id="boiStime"></label>
		    		</td>
		    	</tr>
		    	<tr>
		    		<td align="right">发货单号：</td>
		    		<td>
		    			<label id="boiInvnum"></label>
		    		</td>
		    		<td align="right">结单时间：</td>
		    		<td>
		    			<label id="boiCtime"></label>
		    		</td>
		    	</tr>
		    </table>
	    </div>
	    <div id="consigneePanel" title="收货人信息" class="mini-panel" style="width:100%;" borderStyle="border:0;"
	    	headerStyle="border-top:1px solid #C9C9C9;border-bottom:1px solid #C9C9C9;">
	    	<table class="detailTable" cellpadding="6">
		    	<tr>
		    		<td align="right" width="22%"><label style="letter-spacing:6px;">收货</label>人：</td>
		    		<td width="28%">
		    			<label id="boiConsignee"></label>
		    		</td>
		    		<td align="right" width="22%">电话号码：</td>
		    		<td width="28%">
		    			<label id="boiPhone"></label>
		    		</td>
		    	</tr>
		    	<tr>
		    		<td align="right">手机号码：</td>
		    		<td>
		    			<label id="boiMobile"></label>
		    		</td>
		    		<td align="right">邮政编码：</td>
		    		<td>
		    			<label id="boiZipcode"></label>
		    		</td>
		    	</tr>
		    	<tr>
		    		<td align="right">收货地址：</td>
		    		<td>
		    			<label id="boiCountry"></label>
		    			<label id="boiProvince"></label>
		    			<label id="boiCity"></label>
		    			<label id="boiDistrict"></label>
		    			<label id="boiDetail"></label>
		    		</td>
		    		<td align="right">用户备注：</td>
		    		<td>
		    			<label id="boiUremark"></label>
		    		</td>
		    	</tr>
		    	<tr> 
		    		<td align="right">收货时间：</td>
		    		<td>
		    			<label id="boiBest"></label>
		    		</td>
		    		<td></td>
		    		<td></td>
		    	</tr>
		    </table>
	    </div>
	    <div id="goodsPanel" title="商品信息" class="mini-panel" style="width:100%;" borderStyle="border:0;" 
	    	headerStyle="border-top:1px solid #C9C9C9;border-bottom:1px solid #C9C9C9;" 
	    	bodyStyle="padding:0;">
	    	<div id="goodsListGrid" class="mini-datagrid" fitColumns="true" style="width:100%;min-height:120px;overflow:visible;" 
		    	borderStyle="border:0" showFooter="false" showHGridLines="false" showVGridLines="false"
		    	idField="bogId">
		        <div property="columns">
		            <div type="indexcolumn" width="40" headerAlign="center" cellStyle="height:26px">序号</div>
		            <div field="bogName" width="200" headerAlign="center" align="left">商品名称[品牌]</div>    
		            <div field="bgiGsn" width="100" headerAlign="center" align="left">货号</div> 
		            <div field="bogPrice" width="100" headerAlign="center" align="left">价格</div>
		            <div field="bogAttribute" width="100%" headerAlign="center" align="left">属性</div>
		            <div field="bogAttprice" width="100" headerAlign="center" align="left">属性价格</div>
		            <div field="bogNumber" width="100" headerAlign="center" align="center">数量</div>
		            <div field="bgiNumber" width="100" headerAlign="center" align="center">库存</div>
		            <div field="bogTotal" width="100" headerAlign="center"align="left">小计</div>
		        </div>
		    </div>
	    </div>
	    <div id="feeingPanel" title="费用信息" class="mini-panel" style="width:100%;" borderStyle="border:0;" 
	    	headerStyle="border-top:1px solid #C9C9C9;border-bottom:1px solid #C9C9C9;">
	    	<table class="detailTable" cellpadding="6">
		    	<tr>
		    		<td align="right">
		    			商品总额：￥<label id="boiGpay"></label>元&nbsp;
		    			+&nbsp;配送费用：￥<label id="boiSpay"></label>元
		    			-&nbsp;代金券抵用：￥<label id="boiCouponpay"></label>元&nbsp;</td>
		    	</tr>
		    	<tr align="right">
		    		<td>=&nbsp;订单总额：￥<label id="boiTpay"></label>元&nbsp;</td>
		    	</tr>
		    </table>
	    </div>
	    <div id="operatingPanel" title="操作信息" class="mini-panel" style="width:100%;" borderStyle="border:0;" 
	    	headerStyle="border-top:1px solid #C9C9C9;border-bottom:1px solid #C9C9C9;">
	    	<table class="detailTable" cellpadding="6" id="remarkTab">
		    	<tr>
		    		<td width="10%" align="right">操作备注：</td>
		    		<td width="90%">
		    			<textarea id="lolOremark" style="width:95%;font-size:12px;"></textarea>
		    		</td>
		    	</tr>
		    </table>
	    </div>
	    <div id="logingPanel" title="日志信息" class="mini-panel" style="width:100%;" borderStyle="border:0;"  
	    	headerStyle="border-top:1px solid #C9C9C9;border-bottom:1px solid #C9C9C9;"
	    	bodyStyle="padding:0;">
	    	<div id="orderLogGrid" class="mini-datagrid" fitColumns="true" style="width:100%;min-height:200px;overflow:visible;" 
		    	borderStyle="border:0" showFooter="false" showHGridLines="false" showVGridLines="false"
		    	idField="lolId">
		        <div property="columns">
		            <div type="indexcolumn" width="40" headerAlign="center" cellStyle="height:26px">序号</div>
		            <div field="lolUser" width="120" headerAlign="center" align="center">操作用户</div>    
		            <div field="lolTime" width="140" headerAlign="center" align="center">操作时间</div> 
		            <div field="lolOtype" width="120" headerAlign="center" align="center">操作类型</div>
		            <div field="lolAddress" width="120" headerAlign="center" align="center">操作地址</div>
		            <div field="lolUtype" width="120" headerAlign="center" align="center">用户类型</div>
		            <div field="lolOremark" width="100%" headerAlign="center" align="center">操作备注</div>
		        </div>
		    </div>
	    </div>
	</div><!-- border-top:1px solid #C9C9C9;border-bottom: 1px solid #C9C9C9; -->
	<form id="hiddenForm" action=""></form><!-- 此表单用于加载提示框 -->
  </body>
  <script src="handler/OrderMgrData.js" type="text/javascript"></script>
  <script src="handler/OrderDetailHandler.js" type="text/javascript"></script>
</html>
